/* 全局样式 */
body {
    background-color: #f8f9fa;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    text-align: center;
    padding: 30px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 300;
}

.content {
    display: grid;
    gap: 30px;
}

.demo-section {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.demo-section h3 {
    margin-top: 0;
    margin-bottom: 25px;
    color: #333;
    font-size: 20px;
}

.demo-section .layui-btn {
    margin: 0 10px 10px 0;
    min-width: 150px;
}

.info-section {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.info-section ul {
    margin: 0;
    padding-left: 20px;
}

.info-section li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: #666;
}

/* 下载表单样式 */
.download-form {
    background: white;
}

.download-form .layui-form-item {
    margin-bottom: 20px;
}

.download-form .layui-form-label {
    width: 120px;
    font-weight: 500;
}

.download-form .layui-input-block {
    margin-left: 140px;
}

/* 路径选择组件样式 */
.path-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.path-input-group .layui-input {
    flex: 1;
}

.path-select-btn {
    flex-shrink: 0;
    min-width: 80px;
}

/* 路径选择器样式 */
.path-selector {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #eee;
    border-radius: 4px;
}

.path-option {
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background-color 0.2s;
}

.path-option:last-child {
    border-bottom: none;
}

.path-option:hover {
    background-color: #f5f5f5;
}

.path-option.selected {
    background-color: #e6f7ff;
    border-color: #1890ff;
    color: #1890ff;
}

/* 传输模式样式 */
.transfer-mode-group .layui-form-radio {
    margin-right: 30px;
}

/* 按钮组样式 */
.button-group {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.button-group .layui-btn {
    margin: 0 10px;
    min-width: 100px;
}

/* 加载动画增强 */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .demo-section .layui-btn {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
    
    .download-form .layui-form-label {
        width: 100px;
    }
    
    .download-form .layui-input-block {
        margin-left: 120px;
    }
    
    .path-input-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .path-input-group .layui-input,
    .path-select-btn {
        width: 100%;
    }
}

/* 自定义滚动条 */
.path-selector::-webkit-scrollbar {
    width: 6px;
}

.path-selector::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.path-selector::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.path-selector::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}











